export const createProductGroupModalMixin = {
    data: {
        createModalVisible: false
    },

    // 新建弹窗显示
    showEditModal() {
        this.setData({
            createModalVisible: true
        })
    },

    // 新建弹窗close
    closeEditModal(e) {
        if (e.detail !== 'confirm') {
            this.setData({
                createModalVisible: false
            })
        }
    }
}